home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
src
/
kernel
/
dev
/
devNull.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-12-18
|
1KB
|
39 lines
/*
* devNull.h --
*
* Declarations of procedures for the /dev/null device.
*
* Copyright 1988 Regents of the University of California
* Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without
* fee is hereby granted, provided that the above copyright
* notice appear in all copies. The University of California
* makes no representations about the suitability of this
* software for any purpose. It is provided "as is" without
* express or implied warranty.
*
*
* $Header: /cdrom/src/kernel/Cvsroot/kernel/dev/devNull.h,v 9.1 90/09/11 12:12:53 rab Exp $ SPRITE (Berkeley)
*/
#ifndef _DEVNULL
#define _DEVNULL
/*
* Forward Declarations.
*/
/* extern ReturnStatus Dev_NullOpen(); */
/* extern ReturnStatus Dev_NullClose(); */
extern ReturnStatus Dev_NullRead _ARGS_((Fs_Device *devicePtr,
Fs_IOParam *readPtr, Fs_IOReply *replyPtr));
extern ReturnStatus Dev_NullWrite _ARGS_((Fs_Device *devicePtr,
Fs_IOParam *writePtr, Fs_IOReply *replyPtr));
extern ReturnStatus Dev_NullIOControl _ARGS_((Fs_Device *devicePtr,
Fs_IOCParam *ioctlPtr, Fs_IOReply *replyPtr));
extern ReturnStatus Dev_NullSelect _ARGS_((Fs_Device *devicePtr, int *readPtr,
int *writePtr, int *exceptPtr));
#endif /* _DEVNULL */